#ifndef QuestionDetails_H
#define QuestionDetails_H

#include "Details.h"


namespace Xps
{

	class QuestionDetails : public Details
	{
	public:
		QTextEdit* text;
		
		QuestionDetails() : Details("Question Item", ":/rs/images/questionitem.png")
		{
			text = new QTextEdit();
			text->setReadOnly(true);
			content_layout->addWidget(text);
		}

		void setItem(Item* item)
		{
			if (item->getType() != XpsAssets::TreeNode::QUESTION)
				return;
		}
	};
}
#endif